<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
		
 </body>
</html>

<script>
	//+=
	var a = 3;
	a += 2; // a = a + 2;
	console.log(a);

	//-=
	var b = 3;
	b -= 2; // b = b - 2;
	console.log(b);

	//*=
	var c = 3;
	c *= 2; // c = c * 2;
	console.log(c);

	///=
	var d = 3;
	d /= 2; // d = d 除以 2;
	console.log(d);

	//%=
	var e = 3;
	e %= 2; // e = e % 2;  先用e去莫上2,再把这个结果赋值给e
	console.log(e);

	var str = '陈述';
	str += '毛先亿';
	console.log(str);
	var aa = '陈述' + '毛先亿';
	console.log(aa);

	//++  自增; 每次运行到++都会在原始值的基础上加1，这个加1是固定！！！最后赋值 
	var f = 5;
	f++;  // f = f + 1;
	f++;
	console.log(f);

	//--自减 每次运行到--都会在原始值的基础上减1，这个减1是固定！！！最后赋值 
	var g = 5;
	g--; //g = g - 1
	console.log(g);
</script>